package com.xingkeduo.util.tool;

/**
 * @Description TODO
 * @Date 2019/3/20 14:30
 * @Created 情绪十分不稳定的Shadow
 */
public class BizException extends RuntimeException {

    private ResultStatus resultStatus;

    public BizException(ResultStatus resultStatus,String msg) {
        super(msg);
        this.resultStatus = resultStatus;
    }

    public ResultStatus getCode() {
        return resultStatus;
    }
}
